import request from "@/utils/request.js";

// 查询项目点类型管理列表
export function getProjectPointTypeList(query) {
  return request({
    url: "business/projectPointType/list",
    method: "get",
    params: query,
  });
}
// 查询项目点类型详细
export function getProjectPointType(id) {
  return request({
    url: "business/projectPointType/" + id,
    method: "get",
  });
}
// 新增项目点类型
export function addProjectPointType(data) {
  return request({
    url: "business/projectPointType",
    method: "post",
    data: data,
  });
}
// 修改项目点类型
export function updateProjectPointType(data) {
  return request({
    url: "business/projectPointType",
    method: "put",
    data: data,
  });
}
// 删除项目点类型
export function delProjectPointType(ids) {
  return request({
    url: "business/projectPointType",
    method: "delete",
    data: ids,
  });
}
